FROM debian
MAINTAINER TobbyQuinn <samudaodan@126.com>
RUN  \
apt-get update -y && \
apt-get upgrade -y && \
apt-get install -y  make gcc libc6-dev tcl ruby supervisor
RUN apt-get install -y wget
RUN wget http://download.redis.io/redis-stable.tar.gz && \
tar zxvf redis-stable.tar.gz && \
cd redis-stable && \
make install && \
gem install redis
ADD redis.conf /etc/redis.conf
ADD supervisord.conf /supervisord.conf
ADD entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
ENTRYPOINT ["/bin/bash","/entrypoint.sh"]


